package com.suke.czx.modules.reward.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suke.czx.common.utils.R;
import com.suke.czx.modules.reward.entity.Reward;
import com.suke.czx.modules.reward.entity.RewardSearchBo;

/**
 * 应用模块名称: 奖惩
 * 代码描述: 奖惩业务层接口
 * copyright: AUZAR ALL RIGHTS RESERVED
 * company: AUZAR
 *
 * @author: 颜米晨
 * @date: 2021/09/03 0:50
 */
public interface RewardService extends IService<Reward> {

    /**
     * 分页查询奖惩列表
     * @param rewardSearchBo 查询BO
     * @return VO
     */
    R pageRewardList(RewardSearchBo rewardSearchBo);

    /**
     * 删除奖惩
     * @param rewardInfo 奖惩编码
     * @param userId 操作者编码
     * @return VO
     */
    R updateDelReward(Long rewardInfo, Long userId);

}
